﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package mochicrypt {
    import mochicrypt.*;

    class Config {

        private static const data:Object = new ConfigData().readObject();

        public static function getBool(_arg1:String, _arg2:Boolean):Boolean{
            return (((data[_arg1] is Boolean)) ? data[_arg1] : _arg2);
        }
        public static function getInt(_arg1:String, _arg2:int):int{
            return (((data[_arg1] is int)) ? data[_arg1] : _arg2);
        }
        public static function getString(_arg1:String, _arg2:String):String{
            return (((data[_arg1] is String)) ? data[_arg1] : _arg2);
        }

    }
}//package mochicrypt 
